import { Rule , RuleType } from '@midwayjs/validate'

export class InfoDto{
  
  @Rule(RuleType.string().required())
  name: string

  @Rule(RuleType.string().required())
  phone: string

  @Rule(RuleType.string().required())
  sex: string
}